package com.shop.storage.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.shop.common.core.annotation.Excel;
import com.shop.common.core.web.domain.BaseEntity;

/**
 * 采购信息对象 wms_purchase
 *
 * @author czb
 * @date 2024-06-26
 */
public class WmsPurchase extends BaseEntity
        {
private static final long serialVersionUID = 1L;

        /** id */
        private Long id;

        /** 申请人id */
        @Excel(name = "申请人id")
        private Long assigneeId;

        /** 申请人名称 */
        @Excel(name = "申请人名称")
        private String assigneeName;

        /** 手机号 */
        @Excel(name = "手机号")
        private String phone;

        /** 优先级 */
        @Excel(name = "优先级")
        private Integer priority;

        /** 状态（1.待审核  2.已通过  3.已驳回） */
        @Excel(name = "状态", readConverterExp = "1=.待审核,2=.已通过,3=.已驳回")
        private Integer status;

        /** 仓库id */
        @Excel(name = "仓库id")
        private Long wareId;

        /** 价格 */
        @Excel(name = "价格")
        private BigDecimal amount;

        /** 供应商id */
        @Excel(name = "供应商id")
        private Long supplierId;

        public void setId(Long id)
        {
            this.id = id;
        }

        public Long getId()
        {
            return id;
        }
        public void setAssigneeId(Long assigneeId)
        {
            this.assigneeId = assigneeId;
        }

        public Long getAssigneeId()
        {
            return assigneeId;
        }
        public void setAssigneeName(String assigneeName)
        {
            this.assigneeName = assigneeName;
        }

        public String getAssigneeName()
        {
            return assigneeName;
        }
        public void setPhone(String phone)
        {
            this.phone = phone;
        }

        public String getPhone()
        {
            return phone;
        }
        public void setPriority(Integer priority)
        {
            this.priority = priority;
        }

        public Integer getPriority()
        {
            return priority;
        }
        public void setStatus(Integer status)
        {
            this.status = status;
        }

        public Integer getStatus()
        {
            return status;
        }
        public void setWareId(Long wareId)
        {
            this.wareId = wareId;
        }

        public Long getWareId()
        {
            return wareId;
        }
        public void setAmount(BigDecimal amount)
        {
            this.amount = amount;
        }

        public BigDecimal getAmount()
        {
            return amount;
        }
        public void setSupplierId(Long supplierId)
        {
            this.supplierId = supplierId;
        }

        public Long getSupplierId()
        {
            return supplierId;
        }

@Override
public String toString() {
    return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
        .append("id", getId())
        .append("assigneeId", getAssigneeId())
        .append("assigneeName", getAssigneeName())
        .append("phone", getPhone())
        .append("priority", getPriority())
        .append("status", getStatus())
        .append("wareId", getWareId())
        .append("amount", getAmount())
        .append("supplierId", getSupplierId())
        .append("createTime", getCreateTime())
        .append("updateTime", getUpdateTime())
            .toString();
}
}
